-- GENERATED SPELL FOR [Stormforged Champion] --


function spell0_29370(pUnit, Event) --@Lightning Charged,Self--
pUnit:FullCastSpellOnTarget(52701,pUnit)
pUnit:RegisterEvent('Sorts_29370', 30317, 1)
end

function Sorts_29370(pUnit, Event)
local choix_sorts_29370 = math.random(0, 0)
if choix_sorts_29370 == 0 then
pUnit:RegisterEvent('spell0_29370', 1, 1)
end
end

function mob29370_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29370', math.random(1500, 3000), 1)
end

function mob29370_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29370_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29370_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29370, 1, 'mob29370_Action')
RegisterUnitEvent(29370, 2, 'mob29370_Leave')
RegisterUnitEvent(29370, 3, 'mob29370_Kill')
RegisterUnitEvent(29370, 4, 'mob29370_Die')
